# -*- mode: snippet -*-
# name: addEventListener
# key: ael
# uuid: ael
# --
`(unless (eq (char-before) ?.) ".")`addEventListener('${1:DOMContentLoaded}', () => {
  `%`$0
})`(if (eolp) ";")`